package com.ttj.mapper.oracle;

import java.util.List;
import java.util.Map;

import com.ttj.domain.oracle.WebValidationCode;
import com.ttj.mapper.oracle.gen.SuperWebValidationCodeMapper;

public interface WebValidationCodeMapper extends SuperWebValidationCodeMapper {
	
	/**
	 * 创建验证码
	 * @param webCode
	 * @return
	 */
	int buildVerify(WebValidationCode webCode);
	
	/**
	 * 校验验证码
	 * @param map
	 * @return
	 */
	List<WebValidationCode> checkVerify(Map<String,Object> map);
	
	/**
	 * 修改
	 * @param webCode
	 * @return
	 */
	int upd(WebValidationCode webCode);
	
	/**
	 * 获取ID
	 * @return
	 */
	int getId();
}